#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QtGui/QMessageBox>
#include "ui_main.h"
#include "setSchoolCal.h"
#include "addCourse.h"
#include "updatacourse.h"
#include "Settings.h"

class MainWindow : public QMainWindow,public Ui_MainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void showSetSchoolDialog();
    void showAddCourse();
    void showUpdataCourse(QTableWidgetItem*);
    void loadClasses();
    void getclasses();

private:
    QDate date;
    int week;

    SetSchoolCalDialog dialog;
    AddCourse addCourse;
    UpdataCourse updataCourse;
};

#endif // MAINWINDOW_H
